<?php
file_put_contents("log.txt", "hello lo " . PHP_EOL, FILE_APPEND);
echo 'success';